from django.conf.urls import url

from . import views


urlpatterns = [

    url(r'^login/$', views.UserLoginView.as_view()),
    url(r'^flip/$', views.AliFlipCARDSModelViewSet.as_view({'get': 'list'})),
    url(r'^flip/(?P<pk>\d+)/$', views.AliFlipCARDSModelViewSet.as_view({'put': 'update', 'post': 'partial_update'})),
    url(r'^flip_panel/$', views.AliFlipCARDSModelViewSet.as_view({'get': 'flip_panel'})),
    url(r'^payout/$', views.AliDiscountCouponInfoModelViewSet.as_view({'post': 'payout'})),
    url(r'^coupons/$', views.AliDiscountCouponInfoModelViewSet.as_view({'post': 'coupons'})),
    url(r'^query/$', views.AliDiscountCouponInfoModelViewSet.as_view({'get': 'query'})),
    url(r'^distribuye/$', views.AliDiscountCouponInfoModelViewSet.as_view({'post': 'distribuye'})),
    url(r'^inquire/$', views.AliDiscountCouponInfoModelViewSet.as_view({'post': 'inquire'})),
    url(r'^activity/$', views.AliDiscountCouponInfoModelViewSet.as_view({'post': 'activity'})),
    url(r'^ysh_distribuye/$', views.AliDiscountCouponInfoModelViewSet.as_view({'post': 'ysh_distribuye'})),
    url(r'^ysh_merchant/$', views.AliDiscountCouponInfoModelViewSet.as_view({'get': 'ysh_merchant'})),
    url(r'^haizhui/$', views.AliDiscountCouponInfoModelViewSet.as_view({'get': 'haizhui'})),
    url(r'^meituan_result/$', views.AliDiscountCouponInfoModelViewSet.as_view({'post': 'meituan_result'})),
    url(r'^haizhui_distribuye/$', views.AliDiscountCouponInfoModelViewSet.as_view({'get': 'haizhui_distribuye'})),
    url(r'^haizhui_inquire/$', views.AliDiscountCouponInfoModelViewSet.as_view({'get': 'haizhui_inquire'})),
    url(r'^ylx_activity/$', views.AliDiscountCouponInfoModelViewSet.as_view({'post': 'ylx_activity'})),
    url(r'^ylx_inquire/$', views.AliDiscountCouponInfoModelViewSet.as_view({'post': 'ylx_inquire'})),
    url(r'^ylx_distribuye/$', views.AliDiscountCouponInfoModelViewSet.as_view({'post': 'ylx_distribuye'})),

]